package org.dromara.nursing.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.nursing.domain.HealthRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 健康信息管理视图对象 ms_health_record
 *
 * @author Xue
 * @date 2025-04-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HealthRecord.class)
public class HealthRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    @ExcelProperty(value = "记录ID")
    private Long recordId;

    /**
     * 老人姓名
     */
    @ExcelProperty(value = "老人姓名")
    private String elderName;

    /**
     * 记录日期
     */
    @ExcelProperty(value = "记录日期")
    private Date recordDate;

    /**
     * 记录类型
     */
    @ExcelProperty(value = "记录类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_health_record")
    private String recordType;

    /**
     * 体温
     */
    @ExcelProperty(value = "体温")
    private Long temperature;

    /**
     * 血压
     */
    @ExcelProperty(value = "血压")
    private String bloodPressure;

    /**
     * 脉搏
     */
    @ExcelProperty(value = "脉搏")
    private Long pulse;

    /**
     * 血糖
     */
    @ExcelProperty(value = "血糖")
    private Long bloodSugar;

    /**
     * 体重
     */
    @ExcelProperty(value = "体重")
    private Long weight;

    /**
     * 健康描述
     */
    @ExcelProperty(value = "健康描述")
    private String healthDescription;

    /**
     * 记录人
     */
    @ExcelProperty(value = "记录人")
    private String recorder;

    /**
     * 医生建议
     */
    @ExcelProperty(value = "医生建议")
    private String doctorAdvice;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
